PaperSize

public final class PaperSize

The paper size used for printing.

Since

7.13

Types

Link copied to clipboard
public enum Unit
Represents the measurement unit of the paper size.

Properties

Link copied to clipboard
public final static PaperSize ISO_2A0
Link copied to clipboard
public final static PaperSize ISO_A0
Link copied to clipboard
public final static PaperSize ISO_A0X3
Link copied to clipboard
public final static PaperSize ISO_A1
Link copied to clipboard
public final static PaperSize ISO_A10
Link copied to clipboard
public final static PaperSize ISO_A1X3
Link copied to clipboard
public final static PaperSize ISO_A1X4
Link copied to clipboard
public final static PaperSize ISO_A2
Link copied to clipboard
public final static PaperSize ISO_A2X3
Link copied to clipboard
public final static PaperSize ISO_A2X4
Link copied to clipboard
public final static PaperSize ISO_A2X5
Link copied to clipboard
public final static PaperSize ISO_A3
Link copied to clipboard
public final static PaperSize ISO_A3_EXTRA
Link copied to clipboard
public final static PaperSize ISO_A3X3
Link copied to clipboard
public final static PaperSize ISO_A3X4
Link copied to clipboard
public final static PaperSize ISO_A3X5
Link copied to clipboard
public final static PaperSize ISO_A3X6
Link copied to clipboard
public final static PaperSize ISO_A3X7
Link copied to clipboard
public final static PaperSize ISO_A4
Link copied to clipboard
public final static PaperSize ISO_A4_EXTRA
Link copied to clipboard
public final static PaperSize ISO_A4_TAB
Link copied to clipboard
public final static PaperSize ISO_A4X3
Link copied to clipboard
public final static PaperSize ISO_A4X4
Link copied to clipboard
public final static PaperSize ISO_A4X5
Link copied to clipboard
public final static PaperSize ISO_A4X6
Link copied to clipboard
public final static PaperSize ISO_A4X7
Link copied to clipboard
public final static PaperSize ISO_A4X8
Link copied to clipboard
public final static PaperSize ISO_A4X9
Link copied to clipboard
public final static PaperSize ISO_A5
Link copied to clipboard
public final static PaperSize ISO_A5_EXTRA
Link copied to clipboard
public final static PaperSize ISO_A6
Link copied to clipboard
public final static PaperSize ISO_A7
Link copied to clipboard
public final static PaperSize ISO_A8
Link copied to clipboard
public final static PaperSize ISO_A9
Link copied to clipboard
public final static PaperSize ISO_B0
Link copied to clipboard
public final static PaperSize ISO_B1
Link copied to clipboard
public final static PaperSize ISO_B10
Link copied to clipboard
public final static PaperSize ISO_B2
Link copied to clipboard
public final static PaperSize ISO_B3
Link copied to clipboard
public final static PaperSize ISO_B4
Link copied to clipboard
public final static PaperSize ISO_B5
Link copied to clipboard
public final static PaperSize ISO_B5_EXTRA
Link copied to clipboard
public final static PaperSize ISO_B6
Link copied to clipboard
public final static PaperSize ISO_B6C4
Link copied to clipboard
public final static PaperSize ISO_B7
Link copied to clipboard
public final static PaperSize ISO_B8
Link copied to clipboard
public final static PaperSize ISO_B9
Link copied to clipboard
public final static PaperSize ISO_C0
Link copied to clipboard
public final static PaperSize ISO_C1
Link copied to clipboard
public final static PaperSize ISO_C10
Link copied to clipboard
public final static PaperSize ISO_C2
Link copied to clipboard
public final static PaperSize ISO_C3
Link copied to clipboard
public final static PaperSize ISO_C4
Link copied to clipboard
public final static PaperSize ISO_C5
Link copied to clipboard
public final static PaperSize ISO_C6
Link copied to clipboard
public final static PaperSize ISO_C6C5
Link copied to clipboard
public final static PaperSize ISO_C7
Link copied to clipboard
public final static PaperSize ISO_C7C6
Link copied to clipboard
public final static PaperSize ISO_C8
Link copied to clipboard
public final static PaperSize ISO_C9
Link copied to clipboard
public final static PaperSize ISO_DL
Link copied to clipboard
public final static PaperSize ISO_RA0
Link copied to clipboard
public final static PaperSize ISO_RA1
Link copied to clipboard
public final static PaperSize ISO_RA2
Link copied to clipboard
public final static PaperSize ISO_SRA0
Link copied to clipboard
public final static PaperSize ISO_SRA1
Link copied to clipboard
public final static PaperSize ISO_SRA2
Link copied to clipboard
public final static PaperSize JIS_B0
Link copied to clipboard
public final static PaperSize JIS_B1
Link copied to clipboard
public final static PaperSize JIS_B10
Link copied to clipboard
public final static PaperSize JIS_B2
Link copied to clipboard
public final static PaperSize JIS_B3
Link copied to clipboard
public final static PaperSize JIS_B4
Link copied to clipboard
public final static PaperSize JIS_B5
Link copied to clipboard
public final static PaperSize JIS_B6
Link copied to clipboard
public final static PaperSize JIS_B7
Link copied to clipboard
public final static PaperSize JIS_B8
Link copied to clipboard
public final static PaperSize JIS_B9
Link copied to clipboard
public final static PaperSize JIS_EXEC
Link copied to clipboard
public final static PaperSize JPN_CHOU2
Link copied to clipboard
public final static PaperSize JPN_CHOU3
Link copied to clipboard
public final static PaperSize JPN_CHOU4
Link copied to clipboard
public final static PaperSize JPN_HAGAKI
Link copied to clipboard
public final static PaperSize JPN_KAHU
Link copied to clipboard
public final static PaperSize JPN_KAKU2
Link copied to clipboard
public final static PaperSize JPN_OUFUKU
Link copied to clipboard
public final static PaperSize JPN_YOU4
Link copied to clipboard
public final static PaperSize NA_10X11
Link copied to clipboard
public final static PaperSize NA_10X13
Link copied to clipboard
public final static PaperSize NA_10X14
Link copied to clipboard
public final static PaperSize NA_10X15
Link copied to clipboard
public final static PaperSize NA_11X12
Link copied to clipboard
public final static PaperSize NA_11X15
Link copied to clipboard
public final static PaperSize NA_12X19
Link copied to clipboard
public final static PaperSize NA_5X7
Link copied to clipboard
public final static PaperSize NA_6X9
Link copied to clipboard
public final static PaperSize NA_7X9
Link copied to clipboard
public final static PaperSize NA_9X11
Link copied to clipboard
public final static PaperSize NA_A2
Link copied to clipboard
public final static PaperSize NA_ARCH_A
Link copied to clipboard
public final static PaperSize NA_ARCH_B
Link copied to clipboard
public final static PaperSize NA_ARCH_C
Link copied to clipboard
public final static PaperSize NA_ARCH_D
Link copied to clipboard
public final static PaperSize NA_ARCH_E
Link copied to clipboard
public final static PaperSize NA_ASME_F
Link copied to clipboard
public final static PaperSize NA_B_PLUS
Link copied to clipboard
public final static PaperSize NA_C
Link copied to clipboard
public final static PaperSize NA_C5
Link copied to clipboard
public final static PaperSize NA_D
Link copied to clipboard
public final static PaperSize NA_E
Link copied to clipboard
public final static PaperSize NA_EDP
Link copied to clipboard
public final static PaperSize NA_EUR_EDP
Link copied to clipboard
public final static PaperSize NA_EXECUTIVE
Link copied to clipboard
public final static PaperSize NA_F
Link copied to clipboard
public final static PaperSize NA_FANFOLD_EUR
Link copied to clipboard
public final static PaperSize NA_FANFOLD_US
Link copied to clipboard
public final static PaperSize NA_FOOLSCAP
Link copied to clipboard
public final static PaperSize NA_GOVT_LEGAL
Link copied to clipboard
public final static PaperSize NA_GOVT_LETTER
Link copied to clipboard
public final static PaperSize NA_INDEX_3X5
Link copied to clipboard
public final static PaperSize NA_INDEX_4X6
Link copied to clipboard
public final static PaperSize NA_INDEX_4X6_EXT
Link copied to clipboard
public final static PaperSize NA_INDEX_5X8
Link copied to clipboard
public final static PaperSize NA_INVOICE
Link copied to clipboard
public final static PaperSize NA_LEDGER
Link copied to clipboard
public final static PaperSize NA_LEGAL
Link copied to clipboard
public final static PaperSize NA_LEGAL_EXTRA
Link copied to clipboard
public final static PaperSize NA_LETTER
Link copied to clipboard
public final static PaperSize NA_LETTER_EXTRA
Link copied to clipboard
public final static PaperSize NA_LETTER_PLUS
Link copied to clipboard
public final static PaperSize NA_MONARCH
Link copied to clipboard
public final static PaperSize NA_NUMBER_10
Link copied to clipboard
public final static PaperSize NA_NUMBER_11
Link copied to clipboard
public final static PaperSize NA_NUMBER_12
Link copied to clipboard
public final static PaperSize NA_NUMBER_14
Link copied to clipboard
public final static PaperSize NA_NUMBER_9
Link copied to clipboard
public final static PaperSize NA_PERSONAL
Link copied to clipboard
public final static PaperSize NA_QUARTO
Link copied to clipboard
public final static PaperSize NA_SUPER_A
Link copied to clipboard
public final static PaperSize NA_SUPER_B
Link copied to clipboard
public final static PaperSize NA_WIDE_FORMAT
Link copied to clipboard
public final String name
public final String name

The name of the paper size, if any.

Link copied to clipboard
public final static PaperSize OM_DAI_PA_KAI
Link copied to clipboard
public final static PaperSize OM_FOLIO
Link copied to clipboard
public final static PaperSize OM_FOLIO_SP
Link copied to clipboard
public final static PaperSize OM_INVITE
Link copied to clipboard
public final static PaperSize OM_ITALIAN
Link copied to clipboard
public final static PaperSize OM_JUURO_KU_KAI
Link copied to clipboard
public final static PaperSize OM_LARGE_PHOTO
Link copied to clipboard
public final static PaperSize OM_PA_KAI
Link copied to clipboard
public final static PaperSize OM_POSTFIX
Link copied to clipboard
public final static PaperSize OM_SMALL_PHOTO
Link copied to clipboard
public final static PaperSize PRC_1
Link copied to clipboard
public final static PaperSize PRC_10
Link copied to clipboard
public final static PaperSize PRC_16K
Link copied to clipboard
public final static PaperSize PRC_2
Link copied to clipboard
public final static PaperSize PRC_3
Link copied to clipboard
public final static PaperSize PRC_32K
Link copied to clipboard
public final static PaperSize PRC_4
Link copied to clipboard
public final static PaperSize PRC_5
Link copied to clipboard
public final static PaperSize PRC_6
Link copied to clipboard
public final static PaperSize PRC_7
Link copied to clipboard
public final static PaperSize PRC_8
Link copied to clipboard
public final static PaperSize ROC_16K
Link copied to clipboard
public final static PaperSize ROC_8K

Functions

Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public int height()
Returns the height of the paper, in microns.
Link copied to clipboard
public Optional<String> name()
Returns the name of the paper size as Optional, or Optional.empty() if name is not set.
Link copied to clipboard
public static PaperSize of(float width, float height, PaperSize.Unit unit)
public static PaperSize of(float width, float height, PaperSize.Unit unit, String name)
Creates a new PaperSize setting.
Link copied to clipboard
public String toString()
Link copied to clipboard
public static Collection<PaperSize> values()
Returns an immutable collection of the known PaperSize values.
Link copied to clipboard
public int width()
Returns the width of the paper, in microns.